package com.monkeyk.sos.domain.oauth;

import com.monkeyk.sos.domain.shared.Repository;

import java.util.List;
import java.util.Map;

public interface OauthRepository extends Repository {

    OauthClientDetails findOauthClientDetails(String clientId);
    
    Map<String,String> createClientIdAndSecret();

    List<OauthClientDetails> findAllOauthClientDetails();

    void updateOauthClientDetailsArchive(String clientId, boolean archive);

    void saveOauthClientDetails(OauthClientDetails clientDetails);
}